package com.nexgo.payment.databases;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by xiaox on 2017/9/5.
 */

/**
 * 统计表
 */
@Entity(nameInDb = "STATISTICS")
public class Statistics {
    @Id(autoincrement = true)
    private Long id;
    /**
     * 借记-笔数
     */
    @Property(nameInDb = "DEBIT_NUM")
    private long debitNum;
    /**
     * 借记-金额
     */
    @Property(nameInDb = "DEBIT_AMT")
    private long debitAmt;
    /**
     * 贷记-笔数
     */
    @Property(nameInDb = "CREDIT_NUM")
    private long creditNum;
    /**
     * 贷记-金额
     */
    @Property(nameInDb = "CREDIT_AMT")
    private long creditAmt;
    @Generated(hash = 825279507)
    public Statistics(Long id, long debitNum, long debitAmt, long creditNum,
            long creditAmt) {
        this.id = id;
        this.debitNum = debitNum;
        this.debitAmt = debitAmt;
        this.creditNum = creditNum;
        this.creditAmt = creditAmt;
    }
    @Generated(hash = 1975114801)
    public Statistics() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public long getDebitNum() {
        return this.debitNum;
    }
    public void setDebitNum(long debitNum) {
        this.debitNum = debitNum;
    }
    public long getDebitAmt() {
        return this.debitAmt;
    }
    public void setDebitAmt(long debitAmt) {
        this.debitAmt = debitAmt;
    }
    public long getCreditNum() {
        return this.creditNum;
    }
    public void setCreditNum(long creditNum) {
        this.creditNum = creditNum;
    }
    public long getCreditAmt() {
        return this.creditAmt;
    }
    public void setCreditAmt(long creditAmt) {
        this.creditAmt = creditAmt;
    }
}
